package com.qqpz.sign_project.service;

import com.qqpz.sign_project.entity.Records;

import java.util.List;

public interface RecordsService {
    public List<Records> queryAllRecords();
    public Records queryRecordsById(String id);
    public List<Records> queryRecordsByUserId(String userId);
    public Records queryRecordsByUserIdAndCourseId(String userId,String courseId);
    public List<Records> queryRecordsByType(int type);
    public List<Records> queryRecordsByStatus(int status);
    public List<Records> queryRecordsByCourseId(String courseId);
    public int updateRecordsById(Records records);
    public int updateScoresByUidCid(Records records);
    public int updateTypeByUidCid(Records records);
    public int updateCommentsByUidCid(Records records);
    public int updateStatusByUidCid(Records records);
    public int deleteRecordsById(String id);
    public int deleteRecordsByUserId(String id);
    public int deleteRecordsByCourseId(String id);
    public int createRecords(Records records);
//    public void insertByUserId(Records records);
}
